package com.yra.service;

import com.yra.domain.IndexConfig;
import com.yra.domain.Product;
import com.yra.util.PageQueryUtil;
import com.yra.util.PageResult;

import java.util.List;
import java.util.Map;

/**
 * @Author: yrq
 * @Date: Create in 13:33 2019/12/17
 */
public interface IndexConfigService {
    PageResult getConfigsPage(PageQueryUtil pageQueryUtil);

    List<Product> queryConfigForIndex(int type, int limit);

    Boolean insertConfig(Map<String, Object> params);

    Boolean updateConfig(Map<String, Object> params);

    Boolean deleteConfigs(int[] ids);
}
